Instance 0

Class430.paintNodes(Graphics2D g,int height)#3{
            g.setPaint(SwingTools.makeYellowPaint(NODE_RADIUS, NODE_RADIUS));
            g.setPaint(new Color(233233233));
            g.setPaint(SwingTools.makeBluePaint(NODE_RADIUS, NODE_RADIUS));
            g.setPaint(new Color(233233233));
        g.fill(node);
}


Instance 1

Class650.paintOnCanvas(Graphics g)#2{
                    g2.setPaint(GUIConstants.RESIZE_POINT_DOWN_COLOUR);
                    g2.setPaint(GUIConstants.ELEMENT_FILL_COLOUR);
                g2.fill(shape);
                g2.setPaint(GUIConstants.ELEMENT_LINE_COLOUR);
                g2.draw(shape);
                g2.setTransform(prova);
}


Instance 2

Class40.fillTabShape(Graphics2D g2d,Shape shape,boolean isSelected,Rectangle bounds)#0{
        g2d.setPaint(UIUtil.getGradientPaint(bounds.x, bounds.y, TAB_BG_ACTIVE_WND_SELECTED_FROM, bounds.x, (float)bounds.getMaxY(),
                                             TAB_BG_ACTIVE_WND_SELECTED_TO));
        g2d.setPaint(UIUtil.getGradientPaint(bounds.x, bounds.y, TAB_BG_ACTIVE_WND_UNSELECTED_FROM, bounds.x, (float)bounds.getMaxY(), TAB_BG_ACTIVE_WND_UNSELECTED_TO));
      g2d.setPaint(
        UIUtil.getGradientPaint(bounds.x, bounds.y, TAB_BG_PASSIVE_WND_FROM, bounds.x, (float)bounds.getMaxY(), TAB_BG_PASSIVE_WND_TO));
    g2d.fill(shape);
}


Instance 3

Class20.drawLabel(Rendering rendering,String label)#0{
            for (int i = 0; i < labelOutlineAlphas.length; i++) {
                graphics.setStroke(labelOutlineStrokes[i]);
                graphics.setPaint(labelOutlineColors[i]);
                graphics.draw(labelOutline);
            }
            graphics.setPaint(labelFontColor);
            graphics.fill(labelOutline);
            graphics.setPaint(oldPaint);
            graphics.setStroke(oldStroke);
            graphics.setFont(oldFont);
}


Instance 4

Class280.paintProgressBarBorder(final JComponent c,final Graphics2D g2d)#0{
            g2d.setPaint new GradientPaint 0, shadeWidth, bgTop, 0, c.getHeight () - shadeWidth, bgBottom ) );
            g2d.setPaint new GradientPaint shadeWidth, 0, bgTop, c.getWidth () - shadeWidth, 0, bgBottom ) );
        g2d.fill bs );
        g2d.setPaint c.isEnabled () this.progressEnabledBorderColor : this.progressDisabledBorderColor );
}


Instance 5

Class80.paintIcon(Component c,Graphics g,int x,int y)#1{
        g2.setPaint(new GradientPaint(00, FROM, ellipse.width, ellipse.height, TO));
        g2.fill(ellipse);
        g2.setPaint(Color.black);
        g2.draw(ellipse);
        g2.setPaint(Color.white);
}


Instance 6

Class490.buildIcon(Set<TrelloLabel.LabelColor> colorSet)#4{
    if (colorSet.isEmpty()) {
      return TasksIcons.Trello;
    }
    Image image = CACHE.get(colorSet);
    if (image == null) {
      BufferedImage bufferedImage = UIUtil.createImage(size, size, BufferedImage.TYPE_INT_ARGB);
      int adjustedSize = size - 1;
      int nStripes = colorSet.size();
      Graphics2D g2d = bufferedImage.createGraphics();
      double diag = adjustedSize * SQRT_2;
      double stripeWidth = diag / nStripes;
      RoundRectangle2D baseRectangle = new RoundRectangle2D.Double(00, adjustedSize, adjustedSize, 22);
      ArrayList<TrelloLabel.LabelColor> colorsList = new ArrayList<TrelloLabel.LabelColor>(colorSet);
      for (int i = 0; i < nStripes; i++) {
        Color color = colorsList.get(i).getColor();
        Area stripe = new Area(new Rectangle2D.Double(-diag / 2(i * stripeWidth), diag, stripeWidth));
        stripe.transform(AffineTransform.getRotateInstance(-Math.PI / 400));
        stripe.intersect(new Area(baseRectangle));
        g2d.setPaint(color);
        g2d.fill(stripe);
      }
      g2d.setPaint(Color.BLACK);
      g2d.draw(baseRectangle);
      image = bufferedImage;
      CACHE.put(colorSet, image);
    }
    return new ImageIcon(image);
}


Instance 7

Class140.doPaint(Graphics2D g,JComponent c,int width,int height,Object[] extendedCacheKeys){
            if (testValid(00, w, h)) {
                Shape s = shapeGenerator.createRectangle(00, w, h);
                Paint background = createVerticalGradient(s, BACKGROUND);
                g.setPaint(background);
                g.fill(s);
                g.setPaint(STROKE);
                g.draw(s);
            }
}


Instance 8

Class520.draw(final Graphics2D graphics,final Rectangle2D bounds)#1{
      graphics.setPaintnew Color225225225 ) );
      graphics.fillimageableArea );
      graphics.setPaintColor.gray );
      graphics.drawimageableArea );
}


Instance 9

Class0.paintComponent(Graphics g){
        Graphics2D g2d = (Graphics2Dg;
        g2d.setPaint(SELECTION_COLOR);
        g2d.fill(selectionRectangle);
        g2d.setPaint(SELECTION_COLOR_OUTLINE);
        g2d.draw(selectionRectangle);
}


Instance 10

Class170.paintComponent(final Graphics g)#0{
                final Shape border = createBorderShape ();
                GraphicsUtils.drawShade g2d, border, WebCustomTooltipStyle.shadeColor, shadeWidth );
                g2d.setPaint bg );
                g2d.fill border );
                g2d.setPaint Color.WHITE );
                g2d.draw border );
                GraphicsUtils.restoreAntialias g2d, aa );
}


Instance 11

Class730.paintComponent(Graphics g)#7{
                g2.setPaint(GUIConstants.SELECTION_FILL_COLOUR);
                g2.fill(shape);
                g2.setPaint(GUIConstants.SELECTION_LINE_COLOUR);
                g2.draw(shape);
}


Instance 12

Class70.paintComponent(final Graphics g)#0{
        g2.setPaint(this.paint);
        g2.fill(area);
        g2.setPaint(Color.BLACK);
        g2.draw(area);
}


Instance 13

Class370.paintBackground(Graphics2D g,int width,int height)#0{
            g.setPaint(SkinColors.LIGHT_BACKGROUND_COLOR);
            g.fill(s);
            g.setPaint(SkinColors.GENERAL_BORDER_COLOR);
            g.draw(s);
}


Instance 14

Class730.paintComponent(Graphics g)#5{
                g2.setPaint(GUIConstants.ELEMENT_FILL_COLOUR);
                g2.fill(shape);
                g2.setPaint(GUIConstants.ELEMENT_LINE_COLOUR);
                g2.draw(shape);
}


Instance 15

Class270.paint(Graphics g)#1{
    g2.setPaint(paint);
    g2.fill(s);
    g2.setPaint(Color.white);
    g2.draw(s);
}


Instance 16

Class620.paintIcyBackGround(int width,int height,Graphics g)#1{
        g2.setPaint(new GradientPaint(00, Color.white.darker()0, height / 1.5f, Color.black));
        g2.fill(roundRect);
        g2.setPaint(Color.black);
        g2.setColor(Color.black);
        mixAlpha(g2, AlphaComposite.SRC_OVER, 1f 3f);
        g2.fillOval(-width + (width / 2), height / 2, width * 2, height);
        mixAlpha(g2, AlphaComposite.SRC_OVER, 3f 1f);
}


Instance 17

Class80.doPaint(Graphics2D g,X object,int width,int height)#0{
            g.setClip(0,0,width,height-1);
        g.setPaint(this.topBevelBackground);
        g.fillRoundRect(100, width-2-20202020);
        g.setPaint(this.topBevelBorder);
        g.drawRoundRect(100, width-2-20202020);
        g.setPaint(background);
        g.fill(this.tabAreaCache);
}


Instance 18

Class300.fillNormalGradient(Graphics2D g2d,Shape s,Color startColor,Color endColor,boolean isVertical)#0{
        Paint old = g2d.getPaint();
        g2d.setPaint(paint);
        g2d.fill(s);
        g2d.setPaint(old);
}


Instance 19

Class310.paintThumb(final Graphics g)#3{
                g2d.setPaint new GradientPaint 0, thumbRect.y, thumbBgTop, 0, thumbRect.y + thumbRect.height, thumbBgBottom ) );
                g2d.setPaint new GradientPaint thumbRect.x, 0, thumbBgTop, thumbRect.x + thumbRect.width, 0, thumbBgBottom ) );
            g2d.fill ts );
}


Instance 20

Class310.paintNodes(Graphics2D g,int height)#0{
          g.setPaint(SwingTools.makeYellowPaint(NODE_RADIUS, NODE_RADIUS));
          g.setPaint(SwingTools.makeBluePaint(NODE_RADIUS, NODE_RADIUS));
        g.fill(node);
}


Instance 21

Class80.paintBackground(final Graphics2D g2d,final Rectangle bounds,final E c,final Shape backgroundShape)#1{
            g2d.setPaint LafUtils.getWebGradientPaint 0, bgBounds.y, 0, bgBounds.y + bgBounds.height ) );
            g2d.setPaint c.getBackground () );
        g2d.fill backgroundShape );
}


Instance 22

Class360.paintComponent(Graphics graphics)#1{
        Paint oldPaint = g.getPaint();
        g.setPaint(COLOR_BACKGROUND);
        g.fill(clipBounds);
        g.setPaint(oldPaint);
}


Instance 23

Class360.paintComponent(Graphics graphics)#3{
        Paint oldPaint = g.getPaint();
        g.setPaint(Color.WHITE);
        g.fill(clipBounds);
        g.setPaint(oldPaint);
}


Instance 24

Class500.draw(Graphics2D g2,Rectangle2D area)#0{
        g2.setPaint(createTransformedGradient(area));
        g2.fill(area);
        g2.setPaint(saved);
}


Instance 25

Class150.drawZoomRectangle(ChartPanel panel,Graphics2D g2,boolean xor)#1{
            if (panel.getFillZoomRectangle()) {
                g2.setPaint(panel.getZoomFillPaint());
                g2.fill(this.zoomRectangle);
            }
            else {
                g2.setPaint(panel.getZoomOutlinePaint());
                g2.draw(this.zoomRectangle);
            }
}


Instance 26

Class380.paintColorFontOutline(Graphics2D g2,String str,float x,float y,Color color){
        g2.setPaint(Color.BLACK);
        if (RenderingHints.VALUE_TEXT_ANTIALIAS_ON.equals(g2.getRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING))) {
            TextLayout layout = new TextLayout(str, g2.getFont(), g2.getFontRenderContext());
            Rectangle2D b = layout.getBounds();
            b.setRect(x + b.getX() 0.75, y + b.getY() 0.75, b.getWidth() 1.5, b.getHeight() 1.5);
            g2.fill(b);
        else {
            g2.drawString(str, x - 1f, y - 1f);
            g2.drawString(str, x - 1f, y);
            g2.drawString(str, x - 1f, y + 1f);
            g2.drawString(str, x, y - 1f);
            g2.drawString(str, x, y + 1f);
            g2.drawString(str, x + 1f, y - 1f);
            g2.drawString(str, x + 1f, y);
            g2.drawString(str, x + 1f, y + 1f);
        }
        g2.setPaint(color);
        g2.drawString(str, x, y);
}


Instance 27

Class560.paintComponent(final Graphics g)#1{
            g2d.setPaint new Color 242242242 ) );
            g2d.fill border );
            g2d.setStroke new BasicStroke 2, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1f,
                    new float[]{ Math.max 5f, Math.min Math.max width, height 610f ) )8f }4f ) );
            g2d.setPaint Color.LIGHT_GRAY );
            g2d.draw border );
        GraphicsUtils.restoreAntialias g2d, aa );
}


Instance 28

Class230.drawEtchedShape(final Graphics2D g2d,final BufferedImage topBg,final BufferedImage bottomBg,final Shape fullShape,final Shape bevelShape)#0{
        g2d.setPaint new TexturePaint bottomBg,
                new Rectangle bounds.getLocation ()new Dimension bottomBg.getWidth (), bottomBg.getHeight () ) ) ) );
        g2d.fill bevelShape );
        GraphicsUtils.drawShade g2d, bevelShape, Color.BLACK, );
        g2d.setClip oldClip );
        g2d.setPaint Color.DARK_GRAY );
        g2d.draw bevelShape );
        GraphicsUtils.restoreAntialias g2d, aa );
}


Instance 29

Class520.paintOverlay(Graphics2D g2,ChartPanel chartPanel)#0{
                g2.setPaint(fillPaint);
                g2.fill(box);
                g2.setStroke(outlineStroke);
                g2.setPaint(outlinePaint);
                g2.draw(box);
                g2.drawString(String.format("x = %.3f", dataPoint.getX())(int) (dataArea.getX() 5)(int) (dataArea.getY() 20));
}


Instance 30

Class410.paintSafely(Graphics g)#0{
            g2d.setStroke(new BasicStroke(shadeWidth * 2));
            g2d.setPaint(Color.LIGHT_GRAY);
            g2d.draw(border);
            g2d.setStroke(os);
            g2d.setPaint(Color.WHITE);
            g2d.fill(border);
}


Instance 31

Class390.draw(Graphics2D g2,DialPlot plot,Rectangle2D frame,Rectangle2D view)#0{
        g2.setPaint(Color.LIGHT_GRAY);
        g2.fill(area1);
        g2.setStroke(this.stroke);
        g2.setPaint(this.foregroundPaint);
        g2.draw(outerWindow);
}


Instance 32

Class520.paintOverlay(Graphics2D g2,ChartPanel chartPanel)#3{
                g2.setPaint(fillPaint);
                g2.fill(ellipse);
                g2.setStroke(outlineStroke);
                g2.setPaint(outlinePaint);
                g2.draw(ellipse);
}


Instance 33

Class540.draw(Graphics2D g2,DialPlot plot,Rectangle2D frame,Rectangle2D view)#1{
        g2.setPaint(this.backgroundPaint);
        g2.fill(area);
        g2.setStroke(this.stroke);
        g2.setPaint(this.foregroundPaint);
        g2.draw(e);
}


Instance 34

Class370.doPaint(Graphics2D g,JComponent c,int width,int height,Object[] extendedCacheKeys){
        if (testValid(00, width, height)) {
            Shape s = shapeGenerator.createRectangle(00, width, height);
            g.setPaint(getScrollBarTrackPaint(s));
            g.fill(s);

            g.setColor(SkinColors.SCROLL_TRACK_BORDER_COLOR);
            g.draw(s);
        }
}


Instance 35

Class490.createPrettyImage(final BufferedImage bufferedImage,final int shadeWidth,final int round)#0{
        final Shape old = g2d.getClip ();
        g2d.setClip border );
        g2d.drawImage bufferedImage, shadeWidth, shadeWidth, null );
        g2d.setClip old );
        GraphicsUtils.drawShade g2d, border, StyleConstants.shadeColor, shadeWidth );
        g2d.setPaint new LinearGradientPaint 0, shadeWidth, 0, height - shadeWidth, new float[]{ 0f0.5f1f },
                new Color[]{ new Color 12512512548 )new Color 125125125)new Color 12512512548 ) } ) );
        g2d.fill border );
        g2d.setColor Color.GRAY );
        g2d.draw border );
        g2d.dispose ();
}


Instance 36

Class360.drawHistogram(Graphics2D g2d)#0{
                for (int i = 0; i < histoRect.width; i++) {
                    final int binIndex = (intMath.floor(minViewBinIndex + i * binsPerPixel);
                    double binHeight = 0.0;
                    if (binIndex >= && binIndex < histogramBins.length) {
                        final double counts = histogramBins[binIndex];
                        binHeight = countsScale * counts;
                    }
                    if (binHeight >= histoRect.height) {
                        // must crop here because on highly centered histograms this value is FAR beyond the rectangle
                        // and then triggers an exception when trying to draw it.
                        binHeight = histoRect.height - 1;
                    }
                    r.setRect(histoRect.x + i, histoRect.y + histoRect.height - - binHeight, 1.0, binHeight);
                    g2d.fill(r);
                }
            g2d.setPaint(oldPaint);
}


Instance 37

Class720.paint(final Graphics2D g2d,final Rectangle bounds,final E button)#1{
        g2d.setPaint enabled ? pressed ? pressedBackgroundColor : rollover ? rolloverBackgroundColor : backgroundColor ) ) :
                disabledBackgroundColor );
        g2d.fill shape );
                enabled ? pressed ? pressedBorderColor : rollover ? rolloverBorderColor : borderColor ) ) : disabledBorderColor );
}


Instance 38

Class420.paintBarShadow(Graphics2D g2,BarRenderer renderer,int row,int column,RectangularShape bar,RectangleEdge base,boolean pegShadow){
        Paint itemPaint = renderer.getItemPaint(row, column);
        if (itemPaint instanceof Color) {
            Color c = (ColoritemPaint;
            if (c.getAlpha() == 0) {
                return;
            }
        }
        RectangularShape shadow = createShadow(bar, renderer.getShadowXOffset(),
                renderer.getShadowYOffset(), base, pegShadow);
        g2.setPaint(renderer.getShadowPaint());
        g2.fill(shadow);
}


Instance 39

Class350.paintContourBackground(Graphics g,Component comp,int width,int height,Shape contour,boolean isFocused,SubstanceColorScheme fillScheme,boolean hasShine)#0{
    for (int i = 0; i < this.fractions.length; i++) {
      ColorSchemeSingleColorQuery colorQuery = this.colorQueries[i];
      fillColors[i= colorQuery.query(fillScheme);
    }
    MultipleGradientPaint gradient = new LinearGradientPaint(000,
        height, this.fractions, fillColors, CycleMethod.REPEAT);
    graphics.setPaint(gradient);
    graphics.fill(contour);
    graphics.dispose();
}


Instance 40

Class100.create3LightsHousingImage(final int WIDTH,final int HEIGHT)#5{
        G2.setPaint(new Color(0.2f0.2f0.2f0.5f));
        G2.fill(FRAME);
        G2.dispose();
}


Instance 41

Class280.draw(Graphics2D g2,DialPlot plot,Rectangle2D frame,Rectangle2D view){
        if (instanceof GradientPaint) {
            p = this.gradientPaintTransformer.transform((GradientPaintp,
                    view);
        }
        g2.setPaint(p);
        g2.fill(view);
}


Instance 42

Class230.paintBar(Graphics2D g2,BarRenderer renderer,int row,int column,RectangularShape bar,RectangleEdge base)#1{
        if (t != null && itemPaint instanceof GradientPaint) {
            itemPaint = t.transform((GradientPaintitemPaint, bar);
        }
        g2.setPaint(itemPaint);
        g2.fill(bar);
}


Instance 43

Class710.draw(Graphics2D g2,Rectangle2D area)#0{
        if (this.fillPaint != null) {
            g2.setPaint(this.fillPaint);
            g2.fill(ellipse);
        }
}


Instance 44

Class710.draw(Graphics2D g2,Rectangle2D area,Object params)#0{
        if (this.backgroundPaint != null) {
            g2.setPaint(this.backgroundPaint);
            g2.fill(area);
        }
        area = trimPadding(area);
        return this.container.draw(g2, area, params);
}


Instance 45

Class150.drawSelectionShape(Graphics2D g2,boolean xor)#3{
               if (this.selectionFillPaint != null) {
                    g2.setPaint(this.selectionFillPaint);
                    g2.fill(this.selectionShape);
               }
}


Instance 46

Class130.draw(Graphics2D graphics2D)#2{
            if (tpi.fillPaint != null) {
                graphics2D.setPaint(tpi.fillPaint);
                graphics2D.fill(tShape);
            }
}


Instance 47

Class470.draw(Graphics2D g2,float x,float y,RectangleAnchor anchor)#0{
        if (this.backgroundPaint != null) {
            g2.setPaint(this.backgroundPaint);
            g2.fill(bounds);
        }
}


Instance 48

Class260.paint(Graphics2D g2d){
        if (paint != null) {
            g2d.setPaint(paint);
            g2d.fill(shape);
        }
}


Instance 49

Class10.defaultDisplay(Graphics2D g2,Shape shape)#0{
        if (this.fillPaint != null) {
            g2.setPaint(this.fillPaint);
            g2.fill(shape);
        }
}


Instance 50

Class410.paintIcon(Component c,Graphics g,int x,int y)#0{
              if (fillPaint != null) {
                  g2.setPaint(fillPaint);
                  g2.fill(path);
              }
}


Instance 51

Class290.create_POI_Image(final int WIDTH)#0{
        final java.awt.RadialGradientPaint GRADIENT = new java.awt.RadialGradientPaint(CENTER, (int) (WIDTH / 2.0), FRACTIONS, COLORS);
        G2.setPaint(GRADIENT);
        G2.fill(BLIP);
        G2.dispose();
}


Instance 52

Class660.draw(Graphics2D g2,DialPlot plot,Rectangle2D frame,Rectangle2D view)#0{
        Rectangle2D f = DialPlot.rectangleByRadius(frame, this.radius,
                this.radius);
        Ellipse2D e = new Ellipse2D.Double(f.getX(), f.getY(), f.getWidth(),
                f.getHeight());
        g2.fill(e);
        g2.setPaint(this.outlinePaint);
        g2.setStroke(this.outlineStroke);
        g2.draw(e);
}


Instance 53

Class670.paintBar(Graphics2D g,JComponent c,int width,int height)#0{
        if (testValid(x, y, width, height)) {
            Shape s = shapeGenerator.createRectangle(x, y, width, height);
            g.setPaint(getProgressBarPaint(s));
            g.fill(s);
            
            g.setPaint(getProgressBarBorderPaint());
            g.draw(s);
        }
}


Instance 54

Class150.doPaint(Graphics2D g,JComponent c,int width,int height,Object[] extendedCacheKeys){
        if (testValid(00, width - 1, height - 1)) {
            Shape s = shapeGenerator.createRectangle(00, width, height);
            g.setPaint(getTableHeaderPaint(s));
            g.fill(s);

            paintBorder(g, width, height);
        }
}


Instance 55

Class690.paintBox(Graphics2D g,int width,int height)#0{
        if (testValid(00, width - 1, height)) {
            Shape s = shapeGenerator.createRectangle(00, width - 1, height);

            g.setPaint(getScrollBarButtonBoxPaint(s));
            g.fill(s);

            g.setPaint(getScrollBarButtonBoxBorderColor());
            g.draw(s);
        }
}


Instance 56

Class270.drawPaint(double x,double y)#0{
    Graphics2D gg = (Graphics2Dimgg.create();
    gg.translate(x, y);
    gg.setPaint(paint);
    gg.fill(brush);
    gg.dispose();
}


Instance 57

Class490.createRedOnImage(final int WIDTH,final int HEIGHT)#4{
        G2.setPaint(new RadialGradientPaint(new Point2D.Double(0.5 * IMAGE_WIDTH, 0.1906474820143885 * IMAGE_HEIGHT)(0.5153061224489796f * IMAGE_WIDTH)new float[]{0.0f1.0f}new Color[]{new Color(1f0f0f1f)new Color(0.4627450980f0.0196078431f0.0039215686f0f)}));
        G2.fill(GLOW);
        G2.dispose();
}


Instance 58

Class480.create_BEAM_Image(final int WIDTH)#1{
        final Ellipse2D BEAM_AREA = new Ellipse2D.Double(IMAGE_WIDTH * 0.08411215245723724, IMAGE_HEIGHT * 0.08411215245723724, IMAGE_WIDTH * 0.8317756652832031, IMAGE_HEIGHT * 0.8317756652832031);
        final ConicalGradientPaint BEAM_GRADIENT = new ConicalGradientPaint(true, BEAM_CENTER, 0, BEAMAREA_FRACTIONS, BEAMAREA_COLORS);
        G2.setPaint(BEAM_GRADIENT);
        G2.fill(BEAM_AREA);
        G2.dispose();
}


Instance 59

Class240.paintIndeterminateBar(Graphics2D g,int width,int height){
        if (testValid(00, width, height)) {
            Shape s = shapeGenerator.createProgressBarIndeterminatePattern(00, width, height);
            g.setPaint(getProgressBarIndeterminatePaint(s));
            g.fill(s);
        }
}


Instance 60

Class20.createImageShade(final int w,final int h,final Shape shape,final int shadeWidth,final float shadeOpacity,final Color clearColor)#3{
        final BufferedImage bi = createCompatibleImage width, width, Transparency.TRANSLUCENT );
        final Graphics2D ig = bi.createGraphics ();
        GraphicsUtils.setupAntialias ig );
        ig.translate shadeWidth, shadeWidth );
        ig.setPaint Color.BLACK );
        ig.fill shape );
        ig.dispose ();
}


Instance 61

Class120.drawGradientShape(Graphics2D graphics2D,Shape shape,boolean highlighted)#1{
            paint = new LinearGradientPaint(startPos, endPos,
                                            new float[]{0.0f0.5f0.6f0.8f1.0f},
                                            new Color[]{
                                                    new Color(25525525564),
                                                    new Color(255255255255),
                                                    new Color(255255255255),
                                                    new Color(255255255160),
                                                    new Color(000160)
                                            });
            paint = new LinearGradientPaint(startPos, endPos,
                                            new float[]{0.0f0.5f0.6f0.8f1.0f},
                                            new Color[]{
                                                    new Color(2552552550),
                                                    new Color(25525525564),
                                                    new Color(25525525564),
                                                    new Color(25525525530),
                                                    new Color(00040)
                                            });
        graphics2D.setPaint(paint);
        graphics2D.fill(shape);
}


Instance 62

Class330.createRedOffImage(final int WIDTH,final int HEIGHT)#3{
        final TexturePaint HATCH_PAINT = new TexturePaint(HATCH_TEXTURE, new java.awt.Rectangle(0022));
        G2.setPaint(HATCH_PAINT);
        G2.fill(INNER_SHADOW);
        G2.dispose();
}


Instance 63

Class580.createOffImage(final int WIDTH,final int HEIGHT)#4{
        final LinearGradientPaint GLAS_PAINT = new LinearGradientPaint(new Point2D.Double(0.5 * IMAGE_WIDTH, 0.2894736842105263 * IMAGE_HEIGHT)new Point2D.Double(0.5 * IMAGE_WIDTH, 0.7017543859649122 * IMAGE_HEIGHT)new float[]{0.0f0.99f1.0f}new Color[]{new Color(0.9333333333f0.9333333333f0.9333333333f1f)new Color(0.6f0.6f0.6f1f)new Color(0.6f0.6f0.6f1f)});
        G2.setPaint(GLAS_PAINT);
        G2.fill(GLAS);
}


Instance 64

Class290.create_MAIN_POINTER_SHADOW_Image(final int WIDTH)#1{
        G2.setPaint(SHADOW_COLOR);
        G2.fill(STOPWATCHPOINTER);
        G2.dispose();
}


Instance 65

Class580.create_SMALL_POINTER_SHADOW_Image(final int WIDTH)#0{
        G2.setPaint(SHADOW_COLOR);
        G2.fill(STOPWATCHPOINTERSMALL);
        G2.dispose();
}


Instance 66

Class20.createImageShade(final int w,final int h,final Shape shape,final int shadeWidth,final float shadeOpacity,final Color clearColor)#2{
            g2d.setComposite AlphaComposite.getInstance AlphaComposite.SRC_IN ) );
            g2d.setPaint clearColor );
            g2d.fill shape );
            g2d.dispose ();
}


Instance 67

Class310.paintLayer(Graphics2D g2,JXLayer<? extends JComponent> layer)#3{
  g2.setPaint(createPaint(drawGlass, false));
  g2.fill(drawGlass);
  g2.setColor(oldColor);
  g2.draw(drawGlass);
  AffineTransform oldTransform = g2.getTransform();
  Shape oldClip = g2.getClip();
  g2.scale(scale, scale);
  g2.clip(clipGlass);
}


Instance 68

Class490.createRedOnImage(final int WIDTH,final int HEIGHT)#0{
        final int IMAGE_WIDTH = IMAGE.getWidth();
        final int IMAGE_HEIGHT = IMAGE.getHeight();
        final Ellipse2D LIGHT_ON = new Ellipse2D.Double(0.17346938775510204 * IMAGE_WIDTH, 0.07553956834532374 * IMAGE_HEIGHT, 0.6530612244897959 * IMAGE_WIDTH, 0.2302158273381295 * IMAGE_HEIGHT);
        G2.setPaint(new RadialGradientPaint(new Point2D.Double(0.5 * IMAGE_WIDTH, 0.1906474820143885 * IMAGE_HEIGHT)(0.32653061224489793f * IMAGE_WIDTH)new float[]{0.0f1.0f}new Color[]{new Color(1f0f0f1f)new Color(0.2549019608f0f0.0156862745f1f)}));
        G2.fill(LIGHT_ON);
}


Instance 69

Class100.draw(Graphics2D graphics,IProgressMonitor monitor)#1{
        graphics.setPaint(new Color(fillColor.getRed()fillColor.getGreen()fillColor.getBlue(),
                fillAlpha));
        graphics.fill(shape);
        BasicStroke stroke = new BasicStroke(lineWidth);
        graphics.setStroke(stroke);
}


Instance 70

Class0.paintComponent(Graphics g){
        Graphics2D g2d = (Graphics2Dg;
        g2d.setPaint(PASTE_COLOR);
        g2d.fill(pasteRectangle);
        g2d.setXORMode(PASTE_COLOR_OUTLINE);
        g2d.draw(pasteRectangle);
}


Instance 71

Class50.paintBodyOval(DisplayedGem displayedGem,Paint paint,Graphics2D g2d)#0{
        Object oldAntiAliasRenderingHint = g2d.getRenderingHint(RenderingHints.KEY_ANTIALIASING);
        g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        g2d.setPaint(paint);
        g2d.fill(bodyShape);
        g2d.setColor(Color.black);
        g2d.draw(bodyShape);
        g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, oldAntiAliasRenderingHint);
}


Instance 72

Class100.create3LightsHousingImage(final int WIDTH,final int HEIGHT)#0{
        G2.setPaint(new Color(0.8f0.8f0.8f0.5f));
        G2.fill(BACKGROUND);
}


Instance 73

Class140.paintShapeNode_0_0_0_0_0(Graphics2D g)#1{
    g.setPaint(new Color(2552552550));
    g.fill(shape0);
}


Instance 74

Class180.draw(final Element element,final Graphics2D graphics2D)#1{
      final Color overlapErrorColor = WorkspaceSettings.getInstance().getOverlapErrorColor();
        new ColoroverlapErrorColor.getRed(), overlapErrorColor.getGreen(), overlapErrorColor.getBlue()64 );
      graphics2D.setPainthighLight );
      graphics2D.fillelementBounds );
}


Instance 75

Class530.paintShapeNode_0_0_1_0_0(Graphics2D g)#1{
    g.setPaint(new Color(000255));
    g.fill(shape1);
}


Instance 76

Class370.paintShapeNode_0_0_0_0_0_0(Graphics2D g)#0{
        g.setPaint(new LinearGradientPaint(new Point2D.Double(128.7910003662109496.28410339355469)new Point2D.Double(180.2369995117187596.28410339355469)new float[]{0.0f1.0f}new Color[]{new Color(255255255255)new Color(255255255255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(1.0f0.0f0.0f1.0f0.0f0.0f)));
        g.fill(shape0);
}


Instance 77

Class570.paintShapeNode_0_0_0_1_0_0(Graphics2D g)#1{
        g.setPaint(new LinearGradientPaint(new Point2D.Double(165.31300354003906114.6709976196289)new Point2D.Double(165.3130035400390676.6259994506836)new float[]{0.0f1.0f}new Color[]{new Color(106163213255)new Color(80118177255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(3.884321928024292f0.0f0.0f3.8868143558502197f, -500.1821594238281f269.76171875f)));
        g.fill(shape1);
}


Instance 78

Class490.paintHandles(Graphics2D g2d,AffineTransform transform)#0{
            for (Point2D point : handlePtArray) {
                g2d.fill(new Rectangle2D.Double(point.getX() - halfSize, point.getY() - halfSize, size, size));
            }
            g2d.setPaint(Color.white);
}


Instance 79

Class140.paintShapeNode_0_0_0_1_0_1(Graphics2D g)#1{
        g.setPaint(new LinearGradientPaint(new Point2D.Double(143.79100036621094114.55899810791016)new Point2D.Double(143.7910003662109476.61710357666016)new float[]{0.0f1.0f}new Color[]{new Color(99186112255)new Color(2916856255)}, MultipleGradientPaint.CycleMethod.NO_CYCLE, MultipleGradientPaint.ColorSpaceType.SRGB, new AffineTransform(3.884321928024292f0.0f0.0f3.8868143558502197f, -500.1821594238281f269.76171875f)));
        g.fill(shape2);
}


Instance 80

Class120.drawSliders(Graphics2D g2d)#0{
        for (int i = 0; i < getSliderCount(); i++) {
            double sliderPos = getRelativeSliderPos(getSliderSample(i));

            g2d.translate(sliderPos, 0.0);

            final Color sliderColor = getSliderColor(i);
            g2d.setPaint(sliderColor);
            g2d.fill(sliderShape);

            int gray = (sliderColor.getRed() + sliderColor.getGreen() + sliderColor.getBlue()) 3;
            g2d.setColor(gray < 128 ? Color.white : Color.black);
            g2d.draw(sliderShape);

            String text = getFormattedValue(getSliderSample(i));
            g2d.setColor(Color.black);
            // save the old transformation
            final AffineTransform oldTransform = g2d.getTransform();
            g2d.transform(AffineTransform.getRotateInstance(Math.PI / 2));
            g2d.drawString(text, 0.5f * SLIDER_HEIGHT, 0.35f * FONT_SIZE);
            // restore the old transformation
            g2d.setTransform(oldTransform);

            g2d.translate(-sliderPos, 0.0);
        }
        g2d.translate(-sliderBaseLineRect.x, -sliderBaseLineRect.y);
}


Instance 81

Class470.draw(Graphics2D g2,float x,float y,RectangleAnchor anchor)#3{
            Rectangle2D shadow = new Rectangle2D.Double(xx + this.shadowXOffset,
                    yy + this.shadowYOffset, bounds.getWidth()
                    bounds.getHeight());
            g2.setPaint(this.shadowPaint);
            g2.fill(shadow);
}


Instance 82

Class330.draw(final Graphics2D graphics,final Rectangle2D area)#2{
      g2.setPaintColor.white );
      g2.fillarea );
    g2.translate-area.getX(), -area.getY() );
        StrictGeomUtility.createBoundsarea.getX(), area.getY(), area.getWidth(), area.getHeight() );
}


Instance 83

Class50.paintComponent(Graphics g)#1{
    g2d.setPaint(new RadialGradientPaint(this.getWidth() - RADIUS / 4,
        this.ballY - RADIUS / 5, RADIUS + RADIUS / 4new float[] {
            0.0f1.0f }new Color[] { Color.green,
            Color.green.darker().darker() }));
    g2d.fill(shape);
}


Instance 84

Class650.paintIconBackground(final Graphics2D g2d,final int x,final int y)#3{
        g2d.setPaint new RadialGradientPaint cx, cy, radius, fractions, getBgColors () ) );
        g2d.fill shape );
        final Stroke os = GraphicsUtils.setupStroke g2d, borderStroke );
}


Instance 85

Class560.paintIcon(final Component c,final Graphics2D g2d,final int x,final int y,final int w,final int h)#1{
                g2d.setPaint new RadialGradientPaint center, radius, fractions, cb.isEnabled () ? colors : disabledColors ) );
                g2d.fill shape );
}


Instance 86

Class160.drawHighlight(Graphics2D g,float x,float y,Color highlightColor)#1{
        g.fill(new Ellipse2D.Double(x - HIGHLIGHT_RADIUS / 2f, y - HIGHLIGHT_RADIUS / 2f, HIGHLIGHT_RADIUS, HIGHLIGHT_RADIUS));
        g.setPaint(oldPaint);
}


Instance 87

Class60.paint(Graphics2D g2d,AffineTransform transform)#0{
                        g2d.fill(drawingShape);
        g2d.setPaint(oldPaint);
        g2d.setStroke(oldStroke);
}


Instance 88

Class230.drawEtchedShape(final Graphics2D g2d,final BufferedImage topBg,final BufferedImage bottomBg,final Shape fullShape,final Shape bevelShape)#3{
        g2d.setPaint new TexturePaint topBg,
                new Rectangle bounds.getLocation ()new Dimension topBg.getWidth (), topBg.getHeight () ) ) ) );
        g2d.fill fullShape );
        final Shape oldClip = g2d.getClip ();
        final Area newClip = new Area oldClip );
}


Instance 89

Class720.draw(Graphics2D graphics,MapContent map,MapViewport viewport)#1{
            Graphics2D localGraphics = (Graphics2Dgraphics.create();
            localGraphics.setPaint(Color.WHITE);
            localGraphics.fill(SCREEN);
}


Instance 90

Class730.paint(Graphics g){
            Graphics2D g2d = (Graphics2D)g;
            g2d.setPaint(paint);
            g2d.fill(lensShape);
}


Instance 91

Class30.paintBackgroundDefaultAndMouseOver(Graphics2D g)#0{
    g.setPaint(lowerBorder);
    g.fill(roundRect);
    roundRect = innerBorderRect();
}


Instance 92

Class30.paintBackgroundDefaultAndFocused(Graphics2D g)#1{
    g.setPaint(focusBorder);
    g.fill(roundRect);
    roundRect = innerBorderRect();
}


Instance 93

Class30.paintBackgroundDefaultAndPressed(Graphics2D g)#0{
    g.setPaint(focusBorder);
    g.fill(roundRect);
    roundRect = innerBorderRect();
}


Instance 94

Class30.paintBackgroundDefaultAndPressed(Graphics2D g)#3{
    g.setPaint(innerBorderPressed);
    g.fill(roundRect);
    roundRect = innerFillRect();
}


Instance 95

Class30.paintBackgroundDefaultAndMouseOver(Graphics2D g)#1{
    g.setPaint(innerBorderMouseOver);
    g.fill(roundRect);
    roundRect = innerFillRect();
}


Instance 96

Class30.paintBackgroundDefaultAndFocused(Graphics2D g)#0{
    g.setPaint(innerBorder);
    g.fill(roundRect);
    roundRect = innerFillRect();
}


Instance 97

Class580.drawWord(EngineWord word,Color color)#0{
        Graphics2D g2 = ((PGraphicsJava2D)destination).g2;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        g2.setPaint(color);
        g2.fill(path2d);
}


Instance 98

Class70.cutImage(final Shape shape,final Image image)#0{
        final int w = image.getWidth null );
        final int h = image.getHeight null );
        final BufferedImage cutImage = createCompatibleImage w, h, Transparency.TRANSLUCENT );
        final Graphics2D g2d = cutImage.createGraphics ();
        GraphicsUtils.setupAntialias g2d );
        g2d.setPaint Color.WHITE );
        g2d.fill shape );
}


Instance 99

Class310.paintLayer(Graphics2D g2,JXLayer<? extends JComponent> layer)#4{
  g2.setPaint(createPaint(drawGlass, true));
  g2.fill(drawGlass);
}


Instance 100

Class0.paintBackgroundEnabledAndPressed(Graphics2D g){
    rect = decodeRect2();
    g.setPaint(decodeGradient4(rect));
    g.fill(rect);
}


Instance 101

Class0.paintBackgroundEnabledAndMouseOver(Graphics2D g){
    rect = decodeRect2();
    g.setPaint(decodeGradient3(rect));
    g.fill(rect);
}


Instance 102

Class300.draw(Graphics2D g2,Rectangle2D chartArea,Point2D anchor,ChartRenderingInfo info)#0{
                int row = entity.getDataset().getRowIndex(entity.getRowKey());
                int column = entity.getDataset().getColumnIndex(entity.getColumnKey());
                java.awt.Color baseColor = (java.awt.Colorrenderer.getItemPaint(row, column);
                g2.setPaint(baseColor);
                g2.fill(area);
}


Instance 103

Class350.fill(PDFRenderer state,Graphics2D g,GeneralPath s){
        g.setPaint(this.mainPaint);
        g.fill(s);
        return s.createTransformedShape(g.getTransform()).getBounds2D();
}


Instance 104

Class580.paintBackground(Graphics2D g,int width,int height,Color color)#1{
            g.setPaint(color);
            g.fill(s);
}


Instance 105

Class140.paintComponent(Graphics g)#0{
        g2d.fill getProgressShape usedMemory, true ) );
        g2d.setPaint usedBorderColor );
}


Instance 106

Class0.paintBackgroundSelectedAndPressedAndFocused(Graphics2D g)#1{
    g.setPaint(color37);
    g.fill(path);
}


Instance 107

Class600.paintForegroundMouseOver(Graphics2D g){
    path = decodePath6();
    g.setPaint(decodeGradient9(path));
    g.fill(path);
}


Instance 108

Class390.paintComponent(Graphics g)#9{
            g2.setPaint(GUIConstants.SELECTION_FILL_COLOUR);
            g2.fill(noteRect);
}


Instance 109

Class30.paintBackgroundDefaultAndPressed(Graphics2D g)#1{
    g.setPaint(innerFillPressed);
    g.fill(roundRect);
}


Instance 110

Class30.paintBackgroundDefaultAndMouseOver(Graphics2D g)#3{
    g.setPaint(innerFillMouseOver);
    g.fill(roundRect);
}


Instance 111

Class30.paintBackgroundDefaultAndFocused(Graphics2D g)#2{
    g.setPaint(innerFillFocused);
    g.fill(roundRect);
}


Instance 112

Class30.render(Graphics2D g,VisualItem item)#0{
            g.setPaint(ColorLib.getColor(item.getFillColor()));
            g.fill(m_curArrow);
}


Instance 113

Class450.paintSelectedTab(Graphics2D g,int width,int height)#0{
            g.setPaint(SkinColors.LIGHT_BACKGROUND_COLOR);
            g.fill(s);
            paintBorder(g, width, height);
}


Instance 114

Class420.drawVehicle(Graphics2D g,double simulationTime,RoadMapping roadMapping,Vehicle vehicle)#4{
        g.setPaint(vehicleColor(vehicle, simulationTime));
        g.fill(vehiclePath);
}


Instance 115

Class650.drawSelectionRectangle(Graphics2D g2)#1{
        g2.setPaint(this.selectionFillPaint);
        g2.fill(selectionRectangle);
}


Instance 116

Class720.draw(Graphics2D graphics,MapContent map,MapViewport viewport)#2{
            localGraphics.setPaint(Color.BLACK);
            localGraphics.fill(inner);
}


Instance 117

Class610.paintBackgroundSelectedAndFocused(Graphics2D g)#0{
    g.setPaint(color37);
    g.fill(path);
}


Instance 118

Class610.paintBackgroundDisabled(Graphics2D g){
    rect = decodeRect2();
    g.setPaint(decodeGradient2(rect));
    g.fill(rect);
}


Instance 119

Class610.paintForegroundDisabledAndFinished(Graphics2D g)#0{
    g.setPaint(color33);
    g.fill(path);
}


Instance 120

Class610.paintForegroundDisabled(Graphics2D g)#1{
    g.setPaint(color33);
    g.fill(path);
}


Instance 121

Class610.paintForegroundEnabledAndFinished(Graphics2D g)#1{
    g.setPaint(color17);
    g.fill(path);
}


Instance 122

Class610.paintForegroundDisabled(Graphics2D g)#0{
    g.setPaint(color30);
    g.fill(path);
}


Instance 123

Class500.paintMultiselector(final Graphics2D g2d)#2{
            g2d.fill getSelectionShape fsb, true ) );
            g2d.setPaint selectorBorderColor );
}


Instance 124

Class40.paintBackgroundMouseOverAndEditable(Graphics2D g)#0{
    g.setPaint(color53);
    g.fill(rect);
}


Instance 125

Class40.paintBackgroundFocusedAndEditable(Graphics2D g)#0{
    g.setPaint(color26);
    g.fill(path);
}


Instance 126

Class40.paintForegroundEnabled(Graphics2D g){
    path = decodePath5();
    g.setPaint(decodeGradient9(path));
    g.fill(path);
}


Instance 127

Class40.paintBackgroundDisabled(Graphics2D g)#0{
    g.setPaint(outerBorderDisabled);
    g.fill(roundRect);
    roundRect = innerBorderRect();
}


Instance 128

Class40.paintBackgroundDisabled(Graphics2D g)#1{
    g.setPaint(innerFillDisabled);
    g.fill(roundRect);
}


Instance 129

Class40.paintBackgroundDisabled(Graphics2D g)#3{
    g.setPaint(innerBorderDisabled);
    g.fill(roundRect);
    roundRect = innerFillRect();
}


Instance 130

Class520.drawCustomWebBorder(final Graphics2D g2d,final JComponent component,final Shape borderShape,final Color shadeColor,final int shadeWidth,final boolean fillBackground,final boolean webColored,final Color border,final Color disabledBorder,final Color backgroundColor)#3{
                g2d.setPaint backgroundColor );
                g2d.fill borderShape );
}


Instance 131

Class100.draw(Graphics2D g2d)#4{
        g2d.setPaint(TemplateProperties.getFillColor());
        g2d.fill(polygon);
}


Instance 132

Class510.drawZoomRectangle(Graphics2D g2,boolean xor)#5{
                g2.setPaint((PaintgetChartFieldValueByName("zoomFillPaint"));
                g2.fill(zoomRectangle);
}


Instance 133

Class370.draw(Graphics2D g2,Rectangle2D area)#1{
        g2.setPaint(this.paint);
        g2.fill(area);
}


Instance 134

Class370.paintArrowButton(Graphics2D g,double x,double y)#1{
        g.setPaint(getScrollBarButtonArrowColor());
        g.fill(s);
}


Instance 135

Class630.paintDefaultTab(Graphics2D g,int width,int height)#0{
            g.setPaint(SkinColors.GENERAL_BORDER_COLOR);
            g.fill(s);
            paintBorder(g, width, height);
}


Instance 136

Class630.paintBackground(Graphics2D g,int width,int height)#1{
            g.setPaint(SkinColors.TABLE_SELECTED_BACKGROUND_ROW_COLOR);
            g.fill(s);
}


Instance 137

Class570.paintBackgroundDisabled(Graphics2D g)#1{
    g.setPaint(color6);
    g.fill(rect);
    rect = decodeRect5();
}


Instance 138

Class570.paintBackgroundDisabled(Graphics2D g)#2{
    g.setPaint(color7);
    g.fill(rect);
}


Instance 139

Class570.paintBackgroundMouseOverAndFocused(Graphics2D g)#1{
    g.setPaint(color26);
    g.fill(roundRect);
}


Instance 140

Class210.paintBackgroundDisabledAndEditable(Graphics2D g)#1{
    g.setPaint(color53);
    g.fill(rect);
}


Instance 141

Class210.drawRangeArea(final Rectangle2D area,final Graphics2D g2)#2{
    g2.setPaintgetRangePaint() );
    g2.fillrangeArea );
}


Instance 142

Class410.paintForegroundEnabled(Graphics2D g)#2{
    g.setPaint(color17);
    g.fill(path);
}


Instance 143

Class410.paintForegroundSelected(Graphics2D g)#0{
    g.setPaint(color31);
    g.fill(path);
}


Instance 144

Class410.paintForegroundPressed(Graphics2D g)#1{
    g.setPaint(color31);
    g.fill(path);
}


Instance 145

Class410.drawFill(Graphics2D g2,Rectangle2D area)#1{
        g2.setPaint(this.fillPaint);
        g2.fill(filledArea);
        drawBorder(g2, filledArea);
}


Instance 146

Class350.paintComponent(Graphics g)#0{
                g2.setPaint(lineColor);
                g2.fill(lineRect);
}


Instance 147

Class350.paintComponent(Graphics g)#2{
                g2.setPaint(Color.RED);
                g2.fill(rForward);
}


Instance 148

Class540.paintForegroundDisabledAndIndeterminate(Graphics2D g)#0{
    rect = decodeRect5();
    g.setPaint(decodeGradient11(rect));
    g.fill(rect);
}


Instance 149

Class540.paintForegroundDisabledAndIndeterminate(Graphics2D g)#1{
    path = decodePath5();
    g.setPaint(decodeGradient12(path));
    g.fill(path);
}